Prediction algorithm for intraoperative hypotension